package cz.cvut.manatee.processManager;

import java.rmi.Remote; 
import java.rmi.RemoteException; 

public interface QueryRMI extends Remote {
	// Concordance
	public Result Concordance(String corpusName, String CQL, int maxline, String leftContext, String rightContext, String kwica, String ctxa, String struca, String refa, int maxctx, boolean useview) throws RemoteException;
	public Result Concordance(String corpusName, String CQL, int maxline, String leftContext, String rightContext, String kwica, String ctxa, String struca, String refa, int maxctx) throws RemoteException;
	public Result CollocationQuery(String corpusName, String CQL, String attr_name, char sort_fun_code, long minfreq, long minbgr, int fromw, int tow, int maxitems) throws RemoteException;
}
